<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .mask:hover{

            background-color: black;
            color: white;
        }
    </style>
</head>
<body>
<p>这是测试<span class="mask">并且被掩盖的</span>文字！</p>
</body>
</html>